package com.ruoyi.commission.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 佣金占比对象 am_commission
 * 
 * @author ruoyi
 * @date 2020-07-28
 */
public class AmCommission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 佣金占比表ID */
    private Long id;

    /** 分佣规则表ID */
    @Excel(name = "分佣规则表ID")
    private Long ruleId;

    /** 等级A,B,C */
    @Excel(name = "等级A,B,C")
    private String grade;

    /** A级经纪人分佣占比 */
    @Excel(name = "A级经纪人分佣占比")
    private String commissionRateA;
    /** A级经纪人选择状态  0否1是*/
    private String statusA;

    /** B级经纪人分佣占比 */
    @Excel(name = "B级经纪人分佣占比")
    private String commissionRateB;
    /** B级经纪人选择状态  0否1是*/
    private String statusB;

    /** C级经纪人分佣占比 */
    @Excel(name = "C级经纪人分佣占比")
    private String commissionRateC;
    /** B级经纪人选择状态   0否1是*/
    private String statusC;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setCommissionRateA(String commissionRateA) 
    {
        this.commissionRateA = commissionRateA;
    }

    public String getCommissionRateA() 
    {
        return commissionRateA;
    }
    public void setCommissionRateB(String commissionRateB)
    {
        this.commissionRateB = commissionRateB;
    }

    public String getCommissionRateB()
    {
        return commissionRateB;
    }
    public void setCommissionRateC(String commissionRateC)
    {
        this.commissionRateC = commissionRateC;
    }

    public String getStatusA() {
        return statusA;
    }

    public void setStatusA(String statusA) {
        this.statusA = statusA;
    }

    public String getStatusB() {
        return statusB;
    }

    public void setStatusB(String statusB) {
        this.statusB = statusB;
    }

    public String getStatusC() {
        return statusC;
    }

    public void setStatusC(String statusC) {
        this.statusC = statusC;
    }

    public String getCommissionRateC()
    {
        return commissionRateC;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleId", getRuleId())
            .append("grade", getGrade())
            .append("commissionRateA", getCommissionRateA())
            .append("commissionRateB", getCommissionRateB())
            .append("commissionRateC", getCommissionRateC())
            .append("createTime", getCreateTime())
            .toString();
    }
}
